package com.niuwa.p2p.core.utils;
/**
 * 序列号枚举
 * @author money
 *
 */
public enum SequenceEnum {
		HB("HB",8,"红包兑换码"),
		XX("XX",10,"消息编码");
		private String code;//开头字符
		private int length;//数字位数
		private String discrible;//描述
		
		private SequenceEnum(String code,int length, String discrible) {
			this.code = code;
			this.length = length;
			this.discrible = discrible;
		}
		
		public String getCode() {
			return code;
		}
		
		public void setCode(String code) {
			this.code = code;
		}

		public int getLength() {
			return length;
		}

		public void setLength(int length) {
			this.length = length;
		}

		public String getDiscrible() {
			return discrible;
		}

		public void setDiscrible(String discrible) {
			this.discrible = discrible;
		}
		
	
}
